Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set UseShellExecute to false in OpenLinuxBrowser #5101

Merged
merged 5 commits into from
Feb 4, 2025

Conversation

xinyuxu1026
Copy link
Contributor

Fixes #5075

Changes proposed in this request

Set UseShellExecute to false when set RedirectStandardOutput to true.
Ref: https://learn.microsoft.com/en-us/dotnet/api/system.diagnostics.processstartinfo.redirectstandardoutput?view=net-8.0#remarks
Testing

Performance impact

Documentation

  • All relevant documentation is updated.

@xinyuxu1026 xinyuxu1026 requested a review from a team as a code owner January 24, 2025 00:34
@xinyuxu1026 xinyuxu1026 changed the title set UseShellExecute to false Set UseShellExecute to false in OpenLinuxBrowser Jan 24, 2025
Copy link
Member

@bgavrilMS bgavrilMS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assuming that you have manually tested this.

@bgavrilMS bgavrilMS force-pushed the xinyu/shell-execute branch from 4bfba08 to 027b0a3 Compare January 28, 2025 10:35
@xinyuxu1026
Copy link
Contributor Author

@bgavrilMS Yes, I did the manual test for this!

@xinyuxu1026 xinyuxu1026 enabled auto-merge (squash) February 4, 2025 18:51
@xinyuxu1026
Copy link
Contributor Author

I did the manual test, disable Code coverage test.

@xinyuxu1026 xinyuxu1026 merged commit a003c14 into main Feb 4, 2025
6 checks passed
@xinyuxu1026 xinyuxu1026 deleted the xinyu/shell-execute branch February 4, 2025 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] OpenLinuxBrowser() fails when executed in a .NET Framework app running in mono
3 participants